﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
using System.Threading.Tasks;

namespace HotelManagerService.Interface
{
     [ServiceContract]
    interface IHoaDon
    {
        [OperationContract]
        IEnumerable<HOADON> GetByAllHoaDon();

        [OperationContract]
        String InsertHoaDon(HOADON data);

        [OperationContract]
        String UpdateHoaDon(HOADON data);

        [OperationContract]
        String DeleteHoaDon(string id);

        [OperationContract]
        IEnumerable<HOADON> GetByTopHoaDon(string _top, string _where, string _order);

        [OperationContract]
        String ApproveHoaDon(HOADON data);
    }
}
